filename = ex1

all: $(filename).exe

clean:
	find . -perm +100 -type f -delete
	rm *.o 

$(filename).exe: $(filename).o
	gcc -g -o $(filename) $(filename).o $(LDFLAGS)

$(filename).o:
	gcc -c -g $(filename).c
